package com.tarena.lbs.content.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.content.pojo.param.ArticleContentParam;
import com.tarena.lbs.content.pojo.po.ArticleSearchPO;
import com.tarena.lbs.content.pojo.query.ArticleQuery;
import org.springframework.stereotype.Repository;

import java.util.Set;

@Repository
public interface ArticleRepository {
    PageInfo<ArticleSearchPO> pageList(ArticleQuery query);

    void addArticle(ArticleContentParam param);

    Set<String> SetArticle(ArticleQuery articleQuery);
}
